package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.pojo.Connection;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IConnectionService{

    List<Integer> getDurations(int id);
    List<Integer> getScores(int id);
    Connection getConnection(int id);
    public void insertConn(Connection connection,int sendId,int receiveId);
    public boolean beginConn(int conn_id,int receive_id);
    public void endConn(int id);

}
